package com.six.firstpage.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.BottomArticle;
import com.six.core.entity.HeadNav;

import java.util.List;

/**
* @author ZZH
* @description 针对表【tb_bottom_article】的数据库操作Service
* @createDate 2023-02-27 10:21:18
*/
public interface BottomArticleService extends IService<BottomArticle> {

    //前台查询所有的底部链接
    List<BottomArticle> getAllBottomArticle();

    //查询底部连接
    Page<BottomArticle> getBottomArticleByTitle(String title, Integer status, Integer current, Integer pageSize);

    //添加底部链接
    Integer addBottomArticle(BottomArticle bottomArticle);

    //修改底部链接
    Integer updateBottomArticle(BottomArticle bottomArticle);

    //逻辑删除底部链接
    Integer delBottomArticle(String id);

}
